home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / graphics / scripts / DefineSprite_522 / frame_6 / DoAction.as
Encoding:
Text File  |  2002-03-20  |  517 b   |  26 lines

  1. if(eval("_level0/data:ch_attract") eq "1")
  2. {
  3.    i = "1";
  4.    while(eval("_level0/data:ch_count") >= i)
  5.    {
  6.       if(eval("_level0/data:ch_update" add i) eq "1")
  7.       {
  8.          set("outerHighlight:ch_updateStr",eval("_level0/data:ch_name" add i));
  9.          i = "9999";
  10.          tellTarget("outerHighlight")
  11.          {
  12.             gotoAndStop("play");
  13.             play();
  14.          }
  15.       }
  16.       i += "1";
  17.    }
  18. }
  19. else
  20. {
  21.    tellTarget("outerHighlight")
  22.    {
  23.       gotoAndStop("hold");
  24.    }
  25. }
  26.